package net.zhengxinyun.performance.service.login;

import net.zhengxinyun.performance.entity.TokenEntity;
import net.zhengxinyun.performance.entity.UserEntity;
import net.zhengxinyun.performance.filter.UserFilter;

import java.util.List;

/**
 * @Auther: hyp
 * @Date: 2018/10/30 14:36
 */
public interface UserService {
    int delete(UserEntity userEntity);

    int update(UserEntity userEntity) throws Exception;

    int insert(UserEntity userEntity);

    List<UserFilter> query(UserFilter userFilter);

    UserEntity queryById(Long id);

    Integer queryForCount(UserFilter userFilter);

    List<String> queryForDepartment();
}
